<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script type="text/javascript">
    for(var i =0;i<5;i++) {
        document.write("<p style='font-size:"+i+"0px'>欢迎学习 javascript</p>");
    }
</script>
</body>
</html>